package com.codeyang.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 描述: 节约时间
 *  商品评论的DTO and Vo 对象
 *
 * @author CodeYang_Site
 * @version 2021/5/29 22:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "商品的评论总览")
public class ProdCommDto {


    @ApiModelProperty(value = "好评率")
    private BigDecimal positiveRating;
    @ApiModelProperty(value = "总评数")
    private Long number;
    @ApiModelProperty(value = "好评数")
    private Long praiseNumber;
    @ApiModelProperty(value = "中评数")
    private Long secondaryNumber;
    @ApiModelProperty(value = "差评数")
    private Long negativeNumber;
    @ApiModelProperty(value = "有图评率数")
    private Long picNumber;
}
